import request from "@/utils/request";
// 更新信息
export function getList(data) {
    return request({
      url: "/pool/requisition/list",
      method: "get",
      params: data
    });
  }
  // 创建信息
  export function edSure(data) {
    return request({
      url: "/pool/advance",
      method: "put",
      data: data
    });
  }
    // 创建信息
  export function delySure(data) {
    return request({
      url: "/pool/delay",
      method: "post",
      data: data
    });
  }
    // 创建信息
    export function statusSure1(data) {
      return request({
        url: "/pool/advance/status",
        method: "put",
        data: data
      });
    }
  // 创建信息
  export function statusSure(data) {
    return request({
      url: "/pool/delay/status",
      method: "put",
      data: data
    });
  }

  
  // 创建信息
  export function advanceList(data) {
    return request({
      url: "/pool/advance/list",
      method: "get",
      data: data
    });
  }
  // 创建信息
  export function advanceList1(data) {
    return request({
      url: "/pool/delay/list",
      method: "get",
      data: data
    });
  }
  
  // 创建信息
  export function cel(id) {
    return request({
      url: `/pool/cancel/${id}`,
      method: "put",
    });
  }

  // 发货
  export function fh(id) {
    return request({
      url: `/pool/deliver/${id}`,
      method: "put",
    });
  }

// 修改订单状态
export function orderStatus(data) {
  return request({
    url: "/pool/status",
    method: "put",
    data: data
  });
}

// 超时提醒
export function reminder() {
  return request({
    url: "/pool/reminder",
    method: "get",
  });
}

// 统计
export function getData(data) {
  return request({
    url: "/pool/data",
    method: "get",
    params:data
  });
}